<template>
	<view class="content">
		<view class="box">
			<view>
				<text class="cuIcon-check"></text>
			</view>
			<view>
				<text>{{title}}</text>				
			</view>
			<view class="button" @tap="toMy()">
				<text>完成</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: "操作成功"
			};
		},
		methods:{
			toMy(){
				uni.reLaunch({
					url: '../my/my'
				})
			}
		},
		onLoad(options) {
			this.title = options.title
		}
	}
</script>

<style lang="scss" scoped>
.content{
	padding: 50rpx 0;
	width: 100vw;
	height: 100vh;
	background-color: #FFFFFF;
}
.box{
	text-align: center;
	background-color: #FFFFFF;
	view{
		margin-bottom: 50rpx;
	}
	.button{
		margin: 0 50rpx;
		background-color: #e85456;
		color: #FFFFFF;
		height: 80rpx;
		line-height: 80rpx;
		border-radius: 30rpx;
	}
	.cuIcon-check{
		background-color: #39B54A;
		color: #FFFFFF;
		font-size: 200rpx;
		padding: 20rpx;
		border-radius: 50%;
		font-weight: 800;
	}
}
</style>
